package com.mofang.ticketing.user.serve.account.dto.response;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @author LGC
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "AccountLoinRespDTO")
public class AccountLoinRespDTO implements Serializable {

    private static final long serialVersionUID = 8186286036061989727L;
    @ApiModelProperty(value = "token")
    private String token;

    @ApiModelProperty(value = "token 前缀")
    private String tokenHead;

    @ApiModelProperty(value = "所属组织 1=平台、2=商户、3=项目成员")
    private Integer belong;

    @ApiModelProperty(value = "账号类型 1=平台管理员、2=商户管理员、3=商户成员、4=项目成员")
    private Integer accountType;

    @ApiModelProperty(value = "0=普通、1=管理员")
    private Integer isAdmin;

}
